package com.imooc.dataobject.mapper;

import org.apache.ibatis.annotations.Insert;

import java.util.Map;

/**
 * @author liuhuan
 * @date 2018/7/28 11:08
 * @description
 */
public interface ProductCategoryMapper {

    @Insert("insert into product_category (category_name,category_type) values (#{category_name,jdbcType=VARCHAR},#{category_type,jdbcType=INTEGER})")
    int insertByMap(Map<String,Object> map);
}
